package com.zhiyou.app.shop.manager.dao.pojo;

import java.util.Date;

/**
 * GoodsImg entity. @author MyEclipse Persistence Tools
 */

public class GoodsImg extends BasePojo {

	// Fields

	private Goods goods;
	private String imgPath;
	private Date createDate;
	private Integer orderNumber;

	// Constructors

	/** default constructor */
	public GoodsImg() {
	}

	/** minimal constructor */
	public GoodsImg(Goods goods, String imgPath) {
		this.goods = goods;
		this.imgPath = imgPath;
	}

	/** full constructor */
	public GoodsImg(Goods goods, String imgPath, Date createDate,
			Integer orderNumber) {
		this.goods = goods;
		this.imgPath = imgPath;
		this.createDate = createDate;
		this.orderNumber = orderNumber;
	}

	// Property accessors

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public String getImgPath() {
		return this.imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getOrderNumber() {
		return this.orderNumber;
	}

	public void setOrderNumber(Integer orderNumber) {
		this.orderNumber = orderNumber;
	}

}